package com.cdu.pojo.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;

@Data
public class ProductStatusDTO {
    @NotNull(message = "商品ID不能为空")
    private Integer id;

    @NotNull(message = "商品状态不能为空")
    private Integer status;  // 0-下架 1-上架
}